public class ListNode {
    public int val;         //默认值为0
    public ListNode next;   //默认值为null

    public ListNode(){

    }

    //当new  ListNode时,节点有地址   能确定val
    public ListNode(int val){
        this.val=val;
    }
}
